home *** CD-ROM | disk | FTP | other *** search
/ Nebula 2 / Nebula Two.iso / SourceCode / PopUpFormatter / RandomDataSource.h < prev    next >
Text File  |  1995-06-12  |  619b  |  32 lines

  1. /* RandomDataSource.m:
  2.  * You may freely copy, distribute, and reuse the code in this example.
  3.  * NeXT disclaims any warranty of any kind, expressed or  implied, as to its
  4.  * fitness for any particular use.
  5.  *
  6.  * 
  7.  *
  8.  */
  9.  
  10. #import <objc/Object.h>
  11.  
  12.  
  13. @interface RandomDataSource : Object
  14. {
  15.     unsigned int    rows, columns;
  16.     id        rowList;    
  17. }
  18.  
  19. - (unsigned int) rowCount;
  20. - (unsigned int) columnCount;
  21.  
  22. - setValueFor:index at:(unsigned int) aPosition from:aValue;
  23. - getValueFor:index at:(unsigned int) aPosition into:aValue;
  24.  
  25. - setRows:(unsigned int) rowCount;
  26. - setColumns:(unsigned int) columnCount;
  27.  
  28.  
  29. - empty;
  30. - loadData;
  31. @end
  32.